home *** CD-ROM | disk | FTP | other *** search
- package com.ms.dxmedia;
-
- import com.ms.com.ComFailException;
- import com.ms.dxmedia.rawcom.DACamera;
- import com.ms.dxmedia.rawcom.IDABehavior;
- import com.ms.dxmedia.rawcom.IDACamera;
-
- public class CameraBvr extends Behavior {
- private IDACamera _COMptr;
-
- public CameraBvr depthResolution(double var1) {
- try {
- return new CameraBvr(this.getCOMPtr().DepthResolution(var1));
- } catch (ComFailException var5) {
- throw StaticsBase.handleError(var5);
- }
- }
-
- public CameraBvr depthResolution(NumberBvr var1) {
- try {
- return new CameraBvr(this.getCOMPtr().DepthResolutionAnim(var1.getCOMPtr()));
- } catch (ComFailException var4) {
- throw StaticsBase.handleError(var4);
- }
- }
-
- public void setCOMBvr(IDABehavior var1) {
- super.setCOMBvr(var1);
- this._COMptr = (IDACamera)var1;
- }
-
- public CameraBvr(IDACamera var1) {
- super(var1);
- this._COMptr = var1;
- }
-
- public CameraBvr() {
- super((IDABehavior)null);
- this._COMptr = null;
- }
-
- public static CameraBvr newUninitBvr() {
- return new CameraBvr(new DACamera());
- }
-
- protected Behavior newUninitBehavior() {
- return newUninitBvr();
- }
-
- public IDACamera getCOMPtr() {
- return this._COMptr;
- }
-
- public CameraBvr transform(Transform3Bvr var1) {
- try {
- return new CameraBvr(this.getCOMPtr().Transform(var1.getCOMPtr()));
- } catch (ComFailException var4) {
- throw StaticsBase.handleError(var4);
- }
- }
-
- public CameraBvr depth(double var1) {
- try {
- return new CameraBvr(this.getCOMPtr().Depth(var1));
- } catch (ComFailException var5) {
- throw StaticsBase.handleError(var5);
- }
- }
-
- public CameraBvr depth(NumberBvr var1) {
- try {
- return new CameraBvr(this.getCOMPtr().DepthAnim(var1.getCOMPtr()));
- } catch (ComFailException var4) {
- throw StaticsBase.handleError(var4);
- }
- }
- }
-